package com.itheima.shuzu;

public class Demo1 {
    public static void main(String[] args) {
        //一维数组,二维数组,声明数组,初始化数组.为数组赋值
        //数组的相关类,Array,System,排序,sort,
        //引用数据类型,数组.对象,接口等
        //动态初始化,静态初始化
        char[] a1 = new char[12];
        int[] a3 = new int[12];
        int[][] a2 = new int[12][11];
        int[][] a4 = new int[11][11];
        //[[I@4554617c,二维数组,@分隔符,int型数据类型,右边为十六进制编码
        //JVM加载main方法,方法区(加载.class),栈(方法和局部变量),堆(new出来的在堆脸面,分配空间,数组内存地址0x十六进制存放在栈里面)
        System.out.println(a1);
        System.out.println(a2);
        System.out.println(a3);
        int[] c=new int[]{1,2,3};
        int[] a=null;
       // System.out.println(s);
        for (int i = 0; i < a1.length; i++) {
            System.out.println(a1[i]);
        }
        for (int i = 0; i < a3.length; i++) {

        }
        String[]  str=new String[3];
        for (int i = 0; i <str.length ; i++) {
            System.out.println(str[i]);
        }
    }
}
